#include "Main.h"
#include "GraphicsTypes.h"
#include "MemoryTemplates.h"
#include "Window.h"
#include "Camera.h"


class Graphics{
public:
	static Graphics *p_Graphics;
	Camera Cam;
	Matrix_Stack Modelview;
	Matrix_Stack Projection;
	OZBlock<Image> Images;
	OZBlock<Sprite> Sprites;
	bool Ready;

	Graphics();
	void Initialize();
	void Paint(HDC hdc);
	void Pre_Paint();
	void Post_Paint();
	//Update() is InvalidateRect();
	void Render(Sprite *Sprt);


};